import 'package:flutter/material.dart';
import 'package:flutter_app_demo/constants/constants.dart';
import 'package:flutter_app_demo/home_page.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false, //右上角Debug标签
      title: '开源中国',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        primaryColor: Color(AppColors.APP_THEME),
      ),
      home: HomePage(),
    );
  }
}
